import mysql from '../common/mysql'
import Sequelize from 'sequelize'

export default mysql.define('example', {
    id: {
        type: Sequelize.DataTypes.BIGINT.UNSIGNED,
        allowNull: false,
        primaryKey: true,
        autoIncrement: true
    },
    title: {
        type: Sequelize.DataTypes.STRING,
        allowNull: true
    },
    image: {
        type: Sequelize.DataTypes.STRING,
        allowNull: true
    }
}, {
    tableName: 'example',
    timestamps: false,
})
